home *** CD-ROM | disk | FTP | other *** search
/ Sounds Terrific 1 / Sounds Terrific CD (1994)(Weird Science)(Disc 2 of 2)[!][Amiga-PC].iso / modules / a / aif02.mod < prev    next >
Encoding:
Text File  |  1994-08-04  |  3.8 KB  |  109 lines

  1. Another one of Airflight's Cheap Mods
  2. Airflight #44 @7495
  3. Mon Dec 16 20:02:30 1991
  4. 1[2REPLY1]2: 3Not Necessary.3
  5.  
  6.  
  7. ╓──────────────────────────────────────────────────────────────────────────────╖
  8. ║ Name: AIF02.MOD                                        Released: 12/16/91    ║
  9. ║ Versions: Tested on 4.20 -- Should work on 4.xx though.                      ║
  10. ║ Difficulty: ██░░░                                                            ║
  11. ║                                                                              ║
  12. ║  Description:  This little additive will alow you and your users edit their  ║
  13. ║ macros when they are entering a message.  All they have to do is type:       ║
  14. ║ /MACROS -- Of course, you can shorten this by putting in /M or something like║
  15. ║ that just as easy.                                                           ║
  16. ╙──────────────────────────────────────────────────────────────────────────────╜
  17.  
  18.     Ok, this mod is sooooooooooooooooooooo simple. I would hardly call it
  19.  something worth putting out because of the degree of difficulty involved,but
  20.  I decided to put it out because it is quite useful.  I should have put it in
  21.  my system ages ago.  Anyways, when your users type '/MACROS', in the message
  22.  editor, it will allow them to edit their macros.  For instance, if they want
  23.  to annoy someone by just putting one line in a zillion times, or just change
  24.  they're macro because they don't like the one they have. It will save them a
  25.  trip that they won't have to make.  Anyways, here it is.  Pretty simple.
  26.  
  27.  Step 1:  BACKUP your source code.  I am sure you know how to do it, but if
  28.       you don't, go in your source dir and type:
  29.       pkzip backup *.c *.h *.obj <Enter>.
  30.  
  31.  Step 2:  This part is just a tad bit harder.  Fire up either turbo c or your
  32.       fav. text editor.  <I know it's hard, but try> =)
  33.  
  34.  Step 3:  Load MSGBASE.C and go in void inmsg(..Blah).  Then search for
  35.       "/TI" <with or without the quotes, either way you'll get it>
  36.       and right above it, add the following code:
  37.  
  38.     if (stricmp(s,"/RL")==0) {     /* EXISTING */
  39.       savel=0;                     /* EXISTING */
  40.       if (curli) {                 /* EXISTING */
  41.         --curli;                   /* EXISTING */
  42.         pl("Replace:");            /* EXISTING */
  43.       } else {                     /* EXISTING */
  44.         pl("Nothing to replace."); /* EXISTING */
  45.       }                            /* EXISTING */
  46.     }                              /* EXISTING */
  47.     if (stricmp(s,"/MACROS")==0) {                 /*ADD -- SEE NOTE*/
  48.     nl();                                          /* ADD */
  49.     prt(2,"You may now edit your macros...\r\n");  /* ADD */
  50.     nl();                                          /* ADD */
  51.     make_macros();                                 /* ADD */
  52.     nl();                                          /* ADD */
  53.     nl();                                          /* ADD */
  54.     prt(3,"Continue with your message!");          /* ADD */
  55.     nl();                                          /* ADD */
  56.     }                                              /* ADD */
  57.     if (stricmp(s,"/TI")==0) {                 /* EXISTING */
  58.       savel=0;                                     /* EXISTING */
  59.       helpl=26;                                    /* EXISTING */
  60.  
  61.  Step 4:  Save & Compile!
  62.  
  63.  Disclaimer:  I, Josh Deeden, take NO responsibility for the actions of this
  64.  MOD.  You took FULL responsibility when you decided to put it in.  I will
  65.  be more then happy to help you out if you have any problems with this mod.
  66.  Just remember, I am NOT responsible for this little creature!
  67.  
  68.                /\irflight's /\bode
  69.             Sysops:  /\irflight & Co.
  70.                  714 247 2542
  71.                Located in Moreno Valley, CA
  72.                  WWIVlink @17474
  73.                Running WWIV 4.20 /\ Modded
  74.  
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.